package cn.stronglink.oil.entity;

/**
 * Created by Tgb on 2018/8/29.
 */

public class Result<T> {

    /**
     * data : {"account":"admin","roomCode":"5383","roomId":"1032252600374906881","userId":"878827689403076608"}
     * httpCode : 200
     * msg : 请求成功
     * timestamp : 1535473657780
     */

    private T data;
    private int httpCode;
    private String msg;
    private long timestamp;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getHttpCode() {
        return httpCode;
    }

    public void setHttpCode(int httpCode) {
        this.httpCode = httpCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
}
